home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // MIFiles.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: MIFiles.pas
- //----------------------------------------------------------------------------
- #ifndef MIFilesHPP
- #define MIFilesHPP
- //----------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <System.hpp>
- namespace Mifiles
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TMemIniFile;
- class __declspec(pascalimplementation) TMemIniFile : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- System::AnsiString FFileName;
- Classes::TStringList* FSections;
- Classes::TStrings* __fastcall AddSection(const System::AnsiString Section);
-
- public:
- __fastcall TMemIniFile(const System::AnsiString FileName);
- __fastcall virtual ~TMemIniFile(void);
- void __fastcall Clear(void);
- void __fastcall DeleteKey(const System::AnsiString Section, const System::AnsiString Ident);
- void __fastcall EraseSection(const System::AnsiString Section);
- void __fastcall GetStrings(Classes::TStrings* List);
- bool __fastcall ReadBool(const System::AnsiString Section, const System::AnsiString Ident, bool Default
- );
- long __fastcall ReadInteger(const System::AnsiString Section, const System::AnsiString Ident, long
- Default);
- void __fastcall ReadSection(const System::AnsiString Section, Classes::TStrings* Strings);
- void __fastcall ReadSections(Classes::TStrings* Strings);
- void __fastcall ReadSectionValues(const System::AnsiString Section, Classes::TStrings* Strings);
- System::AnsiString __fastcall ReadString(const System::AnsiString Section, const System::AnsiString
- Ident, const System::AnsiString Default);
- void __fastcall SetStrings(Classes::TStrings* List);
- void __fastcall UpdateFile(void);
- void __fastcall WriteBool(const System::AnsiString Section, const System::AnsiString Ident, bool Value
- );
- void __fastcall WriteInteger(const System::AnsiString Section, const System::AnsiString Ident, long
- Value);
- void __fastcall WriteString(const System::AnsiString Section, const System::AnsiString Ident, const System::AnsiString
- Value);
- __property System::AnsiString FileName = {read=FFileName, nodefault};
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Mifiles */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Mifiles;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // MIFiles
-